ADP\BaseVersion\Includes\AdminExtensions\Ajax B

Total Complexity 90
Dependencies 12
Dependents 1
Total lines 642
Lines of code 474
Logical lines of code 208
Comment lines 17
Methods 35
Properties 4

Methods 35

Method Rating Maintainability Complexity Lines of code
ajax_save_rule()
C
40 26 49
ajax_giftable_products()
S
49 6 30
ajax_product_categories()
S
53 4 21
ajax_subscriptions()
S
54 3 20
ajax_partial_recalculate_persistence_cache()
S
56 3 18
ajax_rules_list()
S
58 3 14
ajax_product_attributes()
S
52 2 22
ajax_users_list()
S
56 2 17
ajax_partial_rebuild_onsale_list()
S
58 2 16
ajax_product_tags()
S
57 2 16
ajax_product_custom_attributes()
S
56 2 16
ajax_product_category_slug()
S
56 2 16
ajax_partial_rebuild_bogo_list()
S
58 2 16
ajax_reorder_rules()
S
65 3 9
sanitize_array_text_fields()
S
64 3 10
ajax_recalculate_persistence_cache()
S
61 2 12
ajax_products()
S
59 2 12
ajaxRequests()
S
61 2 11
ajax_coupons()
S
56 1 18
ajax_product_taxonomies()
S
57 1 16
ajax_product_sku()
S
57 1 16
ajax_start_partial_rebuild_bogo_list()
S
60 1 16
ajax_start_partial_rebuild_onsale_list()
S
60 1 16
__construct()
S
65 2 9
ajax_remove_rule()
S
67 2 8
ajax_product_custom_fields()
S
58 1 14
ajax_start_partial_recalculate_persistence_cache()
S
62 1 12
withContext()
S
81 1 3
ajax_rebuild_onsale_list()
S
79 1 3
ajax_rebuild_bogo_list()
S
79 1 3
ajax_giftable_categories()
S
81 1 3
ajax_auto_add_products()
S
81 1 3
register()
S
78 1 3
withPersistentRuleRepository()
S
81 1 3
withRuleRepository()
S
81 1 3